<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<style type="text/css">
	#clientDetailPriceTable tr th,#clientDetailPriceTable tbody tr td{
		text-align:center;
	}
	
	p{
		border-bottom:1px solid black;
	}
	
</style>
</head>
<body>
	<div class="panel panel-default" style="overflow:scroll;overflow-x:hidden;overflow-y:yes;height:13.9rem;">
		<!-- Default panel contents -->
		<div class="panel-heading" style="text-align:center;font-size:0.5rem;">报&nbsp;&nbsp;价&nbsp;&nbsp;书</div>
		<div class="panel-body">
			<div class="row">
			<!-- 客户名称 -->
				<div class="col-md-5 col-sm-5 col-xs-5" id="clientInfos">
					<p>客户名称:<span>上海祉廷精密机械有限公司</span></p>
					<p>地址:<span>上海市普陀区</span></p>
					<p>TEL:<span>020</span></p>
					<p>手机:<span>1111111</span></p>
					<p>联系人:<span>刘星</span></p>
				</div>
			<!-- 公司名称 -->				
				<div class="col-md-4 col-sm-4 col-xs-4">
					<p>名称:广州富田贸易有限公司</p>
					<p>住所:广州越秀白云路27-1号（南座）1102室</p>
					<p>TEL:020-37621573</p>
					<p>FAX:</p>
					<p>MAIL:ir-chen@</p>
					<p>联系人:陈佳茹</p>
				</div>
			<!-- 报价信息 -->
				<div class="col-md-3 col-sm-3 col-xs-3">
					<p>报价编号:Q1111111111</p>
					<p>报价日期:2017-09-09</p>
				</div>
			</div>
		</div>
		<div class="row" style="margin:0px">
			<div style="text-align:center;font-size:0.5rem;">客&nbsp;户&nbsp;报&nbsp;价&nbsp;单</div>
		</div>
		<div class="row" style="margin:0px">
			<div class="col-md-offset-9">
				<div class='input-group'>
					<input type='text' class='form-control' id='supProductNames'
						placeholder='请输入商品信息'><input type="hidden" id="clientPriceCostIds" value=""> <span class='input-group-btn'>
						<button class='btn btn-default' type='button' id="clientPriceProduct"
							onclick='searchProducts();'>查询</button>
					</span>
				</div>
			</div>
		</div>
		<div class="row">
			<div class="col-md-2">
				&nbsp;&nbsp;<button class="btn btn-info" onclick="saveClientOrders();">生成客户订单</button>
			</div>
			
		</div>
		<!-- Table -->
		<table class="table" id="clientDetailPriceTable" style="width:100%;overflow:scroll;">
			<thead>
				<tr>
					<th><div class="checkbox" style="margin-bottom:0px">
							<label> <input type="checkbox" name="allClientPrices" value="" onclick="onclickAllClientPrice()">全选
							</label>
						</div></th>
					<th>名称/规格/注解</th>
					<th>数量</th>
					<th>单价</th>
					<th>金额</th>
					<th>发货期</th>
					<th>报价有效期</th>
					<th>备注</th>
					<th>操作</th>
				</tr>			
			</thead>
			<tbody>
				<tr>
					<td><div class="checkbox" style="margin-top:0px">
							<label> <input type="checkbox" name="checkProductId" value="">
							</label>
						</div></td>
					<td>1</td>
					<td>1</td>
					<td>1</td>
					<td>1</td>
					<td>1</td>
					<td>1</td>
					<td>现金支付</td>
					<td style='text-align:center'><a href='#' onclick="openUpdateClientProduct();"><span class='glyphicon glyphicon-pencil'></span></a></td>
				</tr>
			</tbody>
			
		</table>
		<div id="footPagess">
		
		</div>
		<div class="row">	
			<div class="col-md-offset-7" id="clientPriceTotal">
				报价总额：<span></span>元
			</div>
			
		</div>
		<div class="row" style="margin:0px;">
			<div>*&nbsp;&nbsp;上述报价为人民币报价，CIF到指定的客户，含17%增值税</div>
			<div>*&nbsp;&nbsp;先下订单，货到30天之内付款/PaymentNet30days</div>
		</div>
		<div class="row" style="margin:0px">
			<div class="col-md-offset-9 col-md-2">
				<button class="btn btn-info" onclick="getProductId();">打印</button>
			</div>
		</div>
		
		
		
	</div>
</body>
</html>